/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package common;

import java.awt.Component;
import javax.swing.Icon;
import javax.swing.JPanel;
import javax.swing.JTabbedPane;

/**
 *
 * @author KIENLT
 */
public class TabPanel {
    public static JTabbedPane AddTabPanel(String title, Icon icon, Component component,JTabbedPane main){
        main.addTab(title, icon, component);       
        return main; 
    }
}
